﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Diagnostics;
using System.Text;
using System.Windows.Forms;

namespace MakersEngine
{
    public partial class Start_Form : Form
    {
        INIFile ini = new INIFile(@Environment.CurrentDirectory + @"\settings.ini");
        public Start_Form()
        {
            InitializeComponent();
        }

        private void Start_Form_Load(object sender, EventArgs e)
        {
            timer1.Start();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            button1.Enabled = true;
            button1.Text = "Continue";
            timer1.Stop();
            timer1.Dispose();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            ini.Write("General", "ReadEULA", " true");
            this.Close();
        }
    }
}
